package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessListDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolListDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

/**
 * &#064;author：zzq
 * &#064;createTime：2025/10/15 10:53
 * &#064;description： 商机业务service
 */
public interface BusinessService extends IService<Business> {

    PageResult<BusinessListDO> businessList(BusinessListDTO dto);

    void addBusiness(BusinessDTO dto);

    BusinessVO getBusinessInfoById(Integer id);

    void distributeBusiness(Integer businessId, Integer userId);

    void followUpBusiness(BusinessFollowDTO dto);

    void backToPool(Integer id);

    void toCustomer(Integer id);

    PageResult<Business> businessPoolList(BusinessPoolListDTO dto);
}
